<?php 
/**
 * @file list.php
 * @author LD <2009-11-05 13:07:50>
 * @package notice
 * @desc
 *   房间活动列表
 */
$this->_extends('_layouts/party_layout');

$this->_block('page_title');
echo "房间活动";
$this->_endblock();

$this->_block('page_keywords');
?>
K秀,kkyoo,音乐交友,在线KTV,在线卡拉OK,网上卡拉OK,在线K歌,在线唱歌,免费MTV,音乐社区,音乐博客,K秀首页
<?php $this->_endblock(); ?>
<?php $this->_block('page_desc'); ?>
K秀是免费的网络P2P音乐社区,让您足不出户享受高品质在线卡拉OK的乐趣，在这里您可以通过音乐结交到好友,也可以录制自己的歌曲,更可以在数百人的K厅内与网友们一起K歌!
<?php $this->_endblock(); ?>

<?php $this->_block('catName'); ?>
<td align="center" background="<?php echo $_BASE_DIR; ?>images/topb.gif">
	<table width="96%" border="0" cellspacing="0" cellpadding="0">
       <tr>
<td align="left"><span class="blue14">房间活动</span></td>
       </tr>
  </table>
</td>
<?php $this->_endblock(); ?>


<?php $this->_block('contents'); ?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td width="4%" height="30" align="center" bgcolor="#edf7ff">&nbsp;</td>
     <td width="60%" align="left" bgcolor="#edf7ff" class="STYLE2"><strong>公告标题</strong></td>
     <td width="18%" align="center" bgcolor="#edf7ff" class="STYLE13">活动状态</td>
     <td width="18%" align="center" bgcolor="#edf7ff" class="STYLE13">活动时间</td>
   </tr>
</table>

<?php foreach ($partys as $party): ?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td width="4%" height="28" align="center">
   <img src="<?php echo $_BASE_DIR; ?>images/arrow001.gif" width="9" height="9" /></td>
   <td width="60%" align="left"><a href="<?php echo url('party/view', array('pid' => $party['act_id']) ); ?>"><?php echo $party['act_name']; ?></a></td>
   <td width="18%" align="center">
       <?php if ($party['status'] == '1'){
    		echo "<span style='color:blue;'>火热进行中</span>";	
    	  }else echo "<span style='color:green;'>圆满完成</span>"; ?></td>
   <td width="18%" align="center"><?php echo date( "Y-m-d ",strtotime($party['actioned']));  ?></td>
 </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr><td height="3" background="<?php echo $_BASE_DIR; ?>images/line2.gif"></td></tr>
</table>
<?php endforeach; ?>    

<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td width="40%">&nbsp;</td>
    <td height="49" align="center">
    
<?php $this->_control('pagination', 'my-pagination', 
				array('pagination' => $pagination )); ?>
    </td>
  </tr>
</table>


<?php $this->_endblock(); ?>
